package com.example.student.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.student.bean.Student;
import com.example.student.dao.IStudentMapper;
import com.example.student.service.IStudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentService extends ServiceImpl<IStudentMapper, Student> implements IStudentService {

    @Override
    public IPage<Student> searchPage(IPage<Student> page) {
        this.baseMapper.searchPage(page);
        return null;
    }

    @Override
    public Student searchById(int id) {
        return this.baseMapper.searchById(id);
    }
}
